package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.RecommendUser;
import com.tanhua.domain.vo.PageResult;
import com.tanhua.domain.vo.UserLocationVo;

import java.util.List;

public interface RecommendUserApi {
    RecommendUser todayBest(Long loginId);

    PageResult findPage(Long loginId, Integer page, Integer pagesize);

    RecommendUser findUserById(String personId, Long longInUserId);

    List<UserLocationVo> search(Long userId, Long distance);

    void loveUser(Long recommendId, Long userId);

    void unloveUser(Long recommendId, Long userId);
}
